import {
	STATUS_SUCCESS_COLOR,
	STATUS_FAIL_COLOR,
	STATUS_WARNING_COLOR
} from "./color-config.js";

/**
 * 巡检结果
 */
export const INSPECTION_RESULT = [{
	label: '正常',
	value: 1,
	color: STATUS_SUCCESS_COLOR
}, {
	label: '异常',
	value: 2,
	color: STATUS_FAIL_COLOR

}, ];

// 异常处理办法
export const INSPECTION_HANDLE_METHOD = [{
	label: '限期整改',
	value: 1,
}, {
	label: '转工单',
	value: 2,
}, ];
// 整改状态
export const INSPECTION_RECTIFY_STATUS = [{
		label: '超时未整改',
		value: -1,
		color: STATUS_FAIL_COLOR,

	},
	{
		label: '待整改',
		value: 0,
		color: STATUS_WARNING_COLOR,

	}, {
		label: '已整改',
		value: 1,
		color: STATUS_SUCCESS_COLOR,

	},
];
// 巡检计划
export const INSPECTION_TASK_STATE = [{
	label: '待巡检',
	value: 0,
	color: STATUS_WARNING_COLOR,

}, {
	label: '已超时',
	value: 1,
	color: STATUS_FAIL_COLOR,

}, ]